/**
 *
 */
package com.wedroid.r2d2.support.response.login;

import com.wedroid.r2d2.support.response.DroidResponse;

/**
 * @author lute
 */
abstract class AbstractLoginResponse implements DroidResponse {

    protected LoginStatus status;

    /* (non-Javadoc)
     * @see com.wedroid.r2d2.support.response.DroidResponse#isSuccess()
     */
    public boolean isSuccess() {
        return status != null && status.isSuccess();
    }

    /**
     * @return
     */
    public LoginStatus getLoginStatus() {
        return status;
    }

}
